package com.hyt.it.ogt.kq.common.gov.utils;

import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author 刘恒活
 * @since 2021/9/1 17:04
 */
public class ApplicationContextUtil {
    private static ConfigurableApplicationContext applicationContext;

    public static void setApplicationContext(ConfigurableApplicationContext context) {
        applicationContext = context;
    }

    public static ConfigurableApplicationContext getApplicationContext(){
        return applicationContext;
    }
}
